import matplotlib.pyplot as plt
y1=[7,13,20,30,8,36,60,50,25,40]
x1=range(0,20,2)
x2=range(1,21,2)
y2=[20,65,5,35,10,17,55,30,3,42]
plt.bar(x1,y1,label='Frist set of data')
plt.bar(x2,y2,label='second set of data',color='r')
plt.xlabel('Plot Number')
plt.ylabel('Important var')
plt.title('DATA SET\n(random data)')
plt.legend()
plt.show()
